Welcome <?php echo $this->username?>,<br>
This is your home page<br>

<a href="<?php echo $this->url(array('controller'=>'Auth','action'=>'logout'))?>">click here to logout</a>